package com.zhitong.money.services.api;

import com.github.pagehelper.PageInfo;
import com.zhitong.money.entity.Employee;

import java.util.List;
import java.util.Map;

public interface IEmployeeService {
    public List<Employee> findAllEmployee() throws Exception;

    public PageInfo findEmployeeByPage(Map<String,Object> map) throws Exception;

    public List<Employee> findEmployeeByMap(Map<String,Object> map) throws Exception;

    public Employee findEmployeeById(String id) throws Exception;

    public List<Employee> findSuperior(String pid) throws Exception;

    public List<String> findIdsByPid(String pid) throws Exception;

    public Employee findEmployeeByTellerId(String tellerId) throws Exception;

    public List<Employee> findEmployeeByTids(List<String> tids) throws Exception;

    public Employee findEmployeeByIdCard(String idCard) throws Exception;

    public void addEmployee(Employee employee) throws Exception;

    public void updateEmployee(Employee employee) throws Exception;

    public void updatePidByIds(List<String> ids,String status);

    public void delEmployee(String id) throws Exception;

    public void delEmployeeByIds(Map<String,Object> map) throws Exception;
}
